<?php

declare(strict_types=1);

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class SchemeRobotRequest extends MineFormRequest
{
    public function listRules(): array
    {
        return [
            'scheme_id' => 'required'
        ];
    }

    public function batchChangeStatusRules(): array
    {
        return [
            'ids' => 'required',
            'status' => 'required|in:0,1'
        ];
    }

    public function applicationSchemeRules(): array
    {
        return [
            'scheme_ids' => 'required'
        ];
    }

    public function cancelRules(): array
    {
        return [
            'ids' => 'required',
        ];
    }

    public function recordRules(): array
    {
        return [
//            'corp_id' => 'required',
            'type' => 'required'
        ];
    }

    public function deleteByIdRules(): array
    {
        return [
            'scheme_id' => 'required',
        ];
    }

}